package com.itheima.shop.strategy;

import org.springframework.stereotype.Component;

/**
 * @program: design
 * @description:
 * @author: zhanghz001
 * @create: 2020-12-15 13:59
 **/
@Component("vipTwo")
public class VipTwo implements VipMoney {
    @Override
    public Integer money(Integer money) {
        return money - 5;
    }
}
